<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html>
<head>
<title><?php echo ($site_name); ?></title>
<meta name="keywords" content="<?php echo ($site_seo_keywords); ?>" />
<meta name="description" content="<?php echo ($site_seo_description); ?>">
<meta name="author" content="ThinkCMF">
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

    <title>致医商城-扫日劳清肺止咳胶囊</title>
    <meta name="keywords" content="-致医商城"> <meta name="description" content="-致医商城">
    <link href="/themes/simplebootx/Public/assets/css/header.css" rel="stylesheet" type="text/css">
    <link href="/themes/simplebootx/Public/assets/css/member.css" rel="stylesheet" type="text/css">
    <style>
        .member .memberbox .memberL .l-title h3 a{
            _background:none;
            filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/template/ydtCopy/module/member/statics/images/back.png', sizingMethod='crop');
        }
    </style>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery-1.6.1.min.js"></script>
    <link href="/themes/simplebootx/Public/assets/css/jquery-ui-1.8.13.custom.css" rel="stylesheet" type="text/css">
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery.form.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery-ui-1.8.13.custom.min.js"></script>
    <script type="text/javascript" src="/themes/simplebootx/Public/assets/js/myInvite.js"></script>
</head>

<body class="body-white">
<link href="/themes/simplebootx/Public/assets/css/jiathis_counter.css" rel="stylesheet" type="text/css">
<link href="/themes/simplebootx/Public/assets/css/jiathis_share.css" rel="stylesheet" type="text/css">
<script type="text/javascript">
    var goToUrl = function(url){
        setTimeout(function(){window.location.href=url},1)
    };
    var Top_Path = {webRoot:"",topParam:"member"};

</script>
	
<script type="text/javascript">
	var goToUrl = function(url){
		setTimeout(function(){window.location.href=url},1)
	};
	var Top_Path = {webRoot:"",topParam:"index"};

</script>
<link rel="icon" href="http://www.zhiyimall.com/favicon.ico" type="image/x-icon">
<link rel="shortcut icon" href="http://www.zhiyimall.com/favicon.ico" type="image/x-icon">
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/jquery.bgiframe.min.js"></script>
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/top.js"></script>
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/addFavorite.js"></script>
<!--header-->
<div class="header">
	<div class="topBg">
		<div class="h-top">
			<div class="welcome">

				您好，<a class="cur user-nicename" href="<?php echo U('product/member/index');?>"></a>欢迎来到致医商城！
                <span class="logout" style="display: none;">[<a href="<?php echo U('user/index/logout');?>" title="退出">退出</a>]</span>
				<span class="user_nologin" style="display: none;">
				[<a class="cur" href="<?php echo leuu('user/login/index');?>" title="登录">登录</a>]
				[<a href="<?php echo leuu('user/register/index');?>" title="新用户注册">注册</a>]
				</span>
			</div>
			<ul class="topR">
				<p style="margin: 3px"> 欢迎来到北京致医健康信息技术有限公司 全国热线：4006669196</p>
				<div class="clear"></div>
			</ul>
			<div class="clear"></div>
		</div>
	</div>
	<div class="h-btm">
		<div class="logo frameEdit" frameinfo="logo|350X115">
			<a href="/" title="致医商城" target="_blank"><img src="/themes/simplebootx/Public/assets/images/e5ec042d-6f3d-4ec0-996b-f461fdef09a7.png" width="350" height="115" alt="致医商城" title=" " border="0"></a></div>
		<div class="search-box">
			<form id="searchForm" action="/" method="get">
				<div class="form">
                    <input type="hidden" name="g" value="product"/>
                    <input type="hidden" name="m" value="list"/>
                    <input type="hidden" name="a" value="index"/>
					<input class="put" type="text" id="searchFields" name="keyword" placeholder="请输入关键字：药品名称">
					<div class="search-btn"><a href="$('#searchForm').submit();">搜索</a></div>
					<div class="clear"></div>
				</div>
			</form>
			<ul class="hotFont">
				<p>热门搜索：</p>
				<li>
					<a href="<?php echo U('product/list/index',array('keyword'=>'碳酸钙'));?>" title="碳酸钙" class="cur">碳酸钙</a>
					<a href="<?php echo U('product/list/index',array('keyword'=>'感冒颗粒'));?>" title="感冒颗粒">感冒颗粒</a>
					<a href="<?php echo U('product/list/index',array('keyword'=>'五子衍宗丸'));?>" title="五子衍宗丸">五子衍宗丸</a>
					<a href="<?php echo U('product/list/index',array('keyword'=>'抗病毒口服液'));?>" title="抗病毒口服液">抗病毒口服液</a>
					<a href="<?php echo U('product/list/index');?>" title=""></a>
				</li>
				<div class="clear"></div>
			</ul>
		</div>
		<div class="btm-r frameEdit" frameinfo="top_tel_adv|300X80">
			<div class="pic">
			</div>
		</div>
		<div class="clear"></div>
	</div>
</div>

<!--menu-->
<div class="menuBg">
	<div class="menu">
		<div class="menu-l l_btn">
			<div class="all"><em></em>全部药品分类</div>
			<div class="popup me_Layer" style="<?php if($open_menu == true){ ?>display:block;<?php }else{ ?>display:none;<?php } ?>">
				<input type="hidden" id="isIndex" value="<?php if($open_menu==true): ?>Y<?php endif; ?>">
                <?php if(is_array($cat_list)): foreach($cat_list as $cat_index=>$cat_item): ?><ul class="itemBox">
                        <li class="item <?php if($cat_index%2!=0): ?>item2<?php endif; ?>">
                            <div class="icon">
                                <img src="/themes/simplebootx/Public/assets/images/icon<?php echo ($cat_index+2) ?>.png">
                            </div>
                            <!--链接-->
                            <div class="title"><a href="<?php echo U('Product/list/index',array('tid'=>$cat_item['id']));?>" title="感冒呼吸"><?php echo ($cat_item["title"]); ?></a></div>
                        </li>
                    </ul><?php endforeach; endif; ?>

			</div>
		</div>
		<ul class="menu-m frameEdit" frameinfo="nav_link">
			<li><a <?php if(I('get.g') == 2): ?>class="cur"<?php endif; ?> href="/">首页</a><em></em></li>
			<a <?php if(I('get.id') == 2): ?>class="cur"<?php endif; ?> href="<?php echo U('Product/Article/detail1',array('id'=>2));?>" title="关于我们">关于我们</a>
			<a <?php if(I('get.id') == 3): ?>class="cur"<?php endif; ?> href="<?php echo U('Product/Article/detail1',array('id'=>3));?>" title="联系我们">联系我们</a>
			<a <?php if(I('get.a') == 'information'): ?>class="cur"<?php endif; ?>  href="<?php echo U('Product/Article/information');?>">资讯频道</a>
			<a <?php if(I('get.a') == 'summer'): ?>class="cur"<?php endif; ?>  href="<?php echo U('Product/Article/summer');?>">夏季常用药</a>
			<a <?php if(I('get.a') == 'sheet'): ?>class="cur"<?php endif; ?>  href="<?php echo U('Product/Article/sheet');?>">药品数据表【收费】</a>
		</ul>
		<div class="clear"></div>
	</div>
</div>

    <div style="display:none;" id="tip" class="box" title="系统提示" >
        <div align="center" id="tiptext" style="font-size: 14px;font-weight: bold;padding: 15px"></div>
    </div>


    <!--会员中心-->
    <div class="member">

        <!--所在位置-->
        <div class="position">
    您现在的位置：
    <a href="/">首页</a><span>></span>
    <a href="<?php echo U('product/member/index');?>">会员专区首页</a>
    <span>></span>
    <em><?php echo ($title); ?></em>
</div>
        <!--end 所在位置-->

        <!--会员中心首页-->
        <div class="memberbox">
            <!--会员中心左边-->
            <div class="memberL">
    <div class="l-title">
        <h2>会员中心</h2>
        <h3><a href="<?php echo U('product/member/index');?>"></a></h3>
    </div>
    <ul class="sidenav">
        <li class="cur">
            <div class="nav-title">订单管理<b></b></div>
            <div class="navbox">
                <a <?php if($menu_name == 'select_order'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/select_order');?>" title="订单查询">订单查询</a>
                <a <?php if($menu_name == 'group_order'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/group_order');?>" title="团购订单">团购订单</a>
                <a <?php if($menu_name == 'refund'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/refund');?>" title="退换货">退换货</a>
                <a <?php if($menu_name == 'cash'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/cash');?>" title="申请提现">申请提现</a>
                <a <?php if($menu_name == 'cash_record'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/cash_record');?>" title="现金提现记录">现金提现记录</a>
            </div>
        </li>
        <li class="cur">
            <div class="nav-title">帐户管理<b></b></div>
            <div class="navbox">
                <a <?php if($menu_name == 'balance'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/balance');?>" title="帐户余额">帐户余额</a>
                <a <?php if($menu_name == 'integral'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/integral');?>"title="我的积分">我的积分</a>
                <a <?php if($menu_name == 'coupon'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/coupon');?>" title="购物券">购物券</a>
            </div>
        </li>
        <li class="cur">
            <div class="nav-title">个人信息<b></b></div>
            <div class="navbox">
                <a <?php if($menu_name == 'user_info'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/user_info');?>" title="个人资料">个人资料</a>
                <a <?php if($menu_name == 'address'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/address');?>" title="收货地址">收货地址</a>
                <a <?php if($menu_name == 'collection'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/collection');?>" title="收藏商品">收藏商品</a>
                <a <?php if($menu_name == 'invitation'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/invitation');?>" title="邀请好友">邀请好友</a>
                <a <?php if($menu_name == 'complaint'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/complaint');?>" title="投诉留言">投诉留言</a>
                <a <?php if($menu_name == 'message'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/message');?>" title="留言咨询">留言咨询</a>
            </div>
        </li>
        <li class="cur">
            <div class="nav-title">客服中心<b></b></div>
            <div class="navbox">
                <a <?php if($menu_name == 'comment'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/comment');?>" title="评论相关">评论相关</a>
                <a  <?php if($menu_name == 'notify'): ?>class="cur"<?php endif; ?>  href="<?php echo U('product/member/notify');?>" title="通知">通知</a>
            </div>
        </li>
    </ul>
</div>
            <!--end 会员中心左边-->

            <!--会员中心右边-->
            <div class="memberR">
                <!--推荐有礼-->
                <div class="r-titleTb"><h2>推荐有礼</h2></div>
                <div class="order-box" style="margin-bottom:10px;">
                    <div class="order">
                        <table cellspacing="0" cellpadding="0" border="0" class="o-table">
                            <thead class="o-thead">
                            <tr class="o-title">
                                <td style="width:129px;">被推荐人</td>
                                <td style="width:109px;">状态</td>
                                <td style="width:219px;">奖励方式</td>
                                <td style="width:568px;">时间</td>
                            </tr>
                            </thead>
                            <tbody class="o-info">
                            </tbody>
                        </table>
                    </div>

                    <div class="e-fy">
                        <div class="page" style="padding: 0 0 0 0;">
                            <div style="float:right">
                            </div>
                        </div>
                    </div>


                    <div class="clear"></div>

                    <div class="explain">
                        <p>奖励说明：</p>
                        <p><i></i>发放积分</p>
                        <p>&nbsp;&nbsp;&nbsp;当您推荐的好友完成手机或邮箱验证时，系统会自动给你发放对应的积分到您的账户。</p>
                        <p><i></i>查看奖励积分</p>
                        <p>&nbsp;&nbsp;&nbsp;在会员中心&gt;&gt;我的积分页面可以查看您的会员中心积分记录。</p>
                    </div>
                </div>
                <!--end 推荐有礼-->


                <!--推荐办法-->
                <div class="r-titleTb"><h2>推荐办法</h2></div>
                <ul class="invite">
                    <li>
                        <div class="i-title">一、链接邀请推荐</div>
                        <div class="i-text">可以将邀请链接网站推荐给您的好友，用QQ、MSN或其他方式发送给您的好友。</div>
                        <div class="i-rows">
                            <div class="lable">推荐链接：</div>
                            <div class="info">
                                <input type="text" id="yaoqingVal" value="http://<?php echo $_SERVER['SERVER_NAME']; ?>/index.php?g=user&m=register&a=index&invite_code=<?php echo ($user["invite_code"]); ?>" class="put">
                                <span><a title="复制地址" href="javascript:copy()">复制链接</a></span>
                            </div>
                            <div class="clear"></div>
                        </div>
                    </li>
                    <li>
                        <div class="i-title">二、社区邀请推荐</div>
                        <div class="i-text">通过社区的分享功能要求好友</div>
                        <div class="i-rows">
                            <div class="lable">分享到：</div>
                            <div class="info">

                                <div id="jiathis_style_32x32">
                                    <a class="jiathis_button_qzone" onclick="jiathis_sendto('qzone');return false;" title="分享到QQ空间"><span class="jiathis_txt jtico jtico_qzone"></span></a>
                                    <a class="jiathis_button_tsina" onclick="jiathis_sendto('tsina');return false;" title="分享到微博"><span class="jiathis_txt jtico jtico_tsina"></span></a>
                                    <a class="jiathis_button_tqq" onclick="jiathis_sendto('tqq');return false;" title="分享到腾讯微博"><span class="jiathis_txt jtico jtico_tqq"></span></a>
                                    <a class="jiathis_button_renren" onclick="jiathis_sendto('renren');return false;" title="分享到人人网"><span class="jiathis_txt jtico jtico_renren"></span></a>
                                    <a class="jiathis_button_kaixin001" onclick="jiathis_sendto('kaixin001');return false;" title="分享到开心网"><span class="jiathis_txt jtico jtico_kaixin001"></span></a>
                                    <a class="jiathis_button_taobao"></a>
                                    <a class="jiathis_button_douban" onclick="jiathis_sendto('douban');return false;" title="分享到豆瓣"><span class="jiathis_txt jtico jtico_douban"></span></a>
                                    <a class="jiathis_button_t163"></a>
                                    <a class="jiathis_button_feixin" onclick="jiathis_sendto('feixin');return false;" title="分享到飞信"><span class="jiathis_txt jtico jtico_feixin"></span></a>
                                    <a class="jiathis_button_google"  onclick="jiathis_sendto('google');return false;" title="分享到谷歌"><span class="jiathis_txt jtico jtico_google"></span></a>
                                    <a class="jiathis_button_sohu"></a>
                                    <a class="jiathis_button_sina"></a>
                                    <a class="jiathis_button_buzz" onclick="jiathis_sendto('buzz');return false;" title="分享到谷歌Buzz"><span class="jiathis_txt jtico jtico_buzz"></span></a>
                                    <a class="jiathis_button_twitter" onclick="jiathis_sendto('twitter');return false;" title="分享到Twitter"><span class="jiathis_txt jtico jtico_twitter"></span></a>
                                    <a class="jiathis_button_youdao" onclick="jiathis_sendto('youdao');return false;" title="分享到有道书签"><span class="jiathis_txt jtico jtico_youdao"></span></a>
                                    <a class="jiathis_button_115"></a>
                                    <a class="jiathis_button_gmail" onclick="jiathis_sendto('gmail');return false;" title="分享到Gmail邮箱"><span class="jiathis_txt jtico jtico_gmail"></span></a>
                                    <a class="jiathis_button_zhuaxia"></a>

                                    <a href="http://www.jiathis.com/share" class="jiathis jiathis_txt jtico jtico_jiathis" target="_blank"></a>
                                    <a class="jiathis_counter_style"><span class="jiathis_button_expanded jiathis_counter jiathis_bubble_style" id="jiathis_counter_64" title="累计分享0次">0</span></a>
                                </div>
                                <script type="text/javascript">
                                    var jiathis_config = {
                                        url: "http://<?php echo $_SERVER['SERVER_NAME']; ?>/index.php?g=user&m=register&a=index&invite_code=<?php echo ($user["invite_code"]); ?>",
                                        title: "邀请好友 #致医商城#",
                                        summary:"我在致医商城购物，你也来吧"
                                    }
                                </script>
                                <script type="text/javascript" src="http://v2.jiathis.com/code/jia.js" charset="utf-8"></script><script type="text/javascript" src="http://v2.jiathis.com/code/plugin.client.js" charset="utf-8"></script>

                            </div>
                            <div class="clear"></div>
                        </div>
                    </li>
                    <li>
                        <div class="i-title">三、邮件邀请</div>
                        <div class="i-text">向对方的邮件发送邀请邮件</div>
                        <form action="<?php echo U('product/member/invite_send_email');?>" id="sendEmail" method="post">
                            <div class="i-rows">
                                <div class="lable">好友邮箱地址：</div>
                                <div class="info">
                                    <input type="text" name="email" id="email" value="多个地址请用“，”隔开" class="put">
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="i-rows">
                                <div class="lable">标题：</div>
                                <div class="info">
                                    <input id="title" name="title" class="put" value="致医商城，服务好，产品又便宜！" type="text">
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="i-rows">
                                <div class="lable">正文：</div>
                                <div class="info">
                                    <textarea name="content" id="content" cols="" rows="" class="te2 box-shadow"></textarea>
                                </div>
                                <div class="clear"></div>
                            </div>
                            <div class="i-rows">
                                <div class="lable"></div>
                                <div class="info">
                                    <span><a href="javascript:;" onclick="$('#sendEmail').submit();" title="发送邮件">发送邮件</a></span>
                                </div>
                                <div class="clear"></div>
                            </div>
                        </form>
                    </li>
                </ul>
                <!--end 推荐办法-->
            </div>
            <!--end 会员中心右边-->
            <div class="clear"></div>
        </div>
        <!--end 会员中心首页-->
        <div class="clear"></div>
    </div>
    <!--end 会员中心-->

    <!--页尾-->
<script type="text/javascript">
    var memberShowTip = function(msg){
        $("#memberTip").html(msg);
        easyDialog.open({container : "cancelBox_memberTip",fixed : false});
    }
    var memberShowCallBack = function(msg,callbackFun){
        $("#memberTip").html(msg);
        easyDialog.open({container : "cancelBox_memberTip",fixed : false,callback : function(){
            callbackFun();
        }});
    }
</script>
<!--系统提示-->

<!--系统提示-->

<!--订单弹出层-->

<!--确定取消订单-->
<div class="cancelBox" id="cancelBox" style="display: none;">
    <div class="layer">
        <h2>取消订单</h2>
        <h3><a href="javascript:easyDialog.close();"></a></h3>
    </div>
    <div class="cancel">
        <div class="c-title"><em></em><span class="msg">您确定取消订单</span>&nbsp;&nbsp;<span class="orderNum"></span>？</div>
        <div class="btn">
            <h2><a href="javascript:;" class="determine">确定</a></h2>
            <h2><a href="javascript:easyDialog.close();">关闭</a></h2>
        </div>
    </div>
</div>
<!--确定取消订单-->

<!--确定取消订单-->
<div class="cancelBox" id="cancelBox_success" style="display: none;">
    <div class="layer">
        <h2>取消订单</h2>
        <h3><a href="javascript:easyDialog.close();"></a></h3>
    </div>
    <div class="cancel">
        <div class="c-title"><i></i><span class="msg">订单取消成功！</span></div>
    </div>
</div>
<!--确定取消订单-->

<!--确定取消订单-->
<div class="cancelBox" style="display: none;">
    <div class="layer">
        <h2>取消订单</h2>
        <h3><a href="javascript:easyDialog.close();"></a></h3>
    </div>
    <div class="cancel">
        <div class="c-title"><i></i>订单取消成功！</div>
        <div class="c-box">
            <h5>问卷提交成功，感谢您的参与！</h5>
            <h5>本窗口5秒后关闭！</h5>
        </div>
    </div>
</div>
<!--确定取消订单-->

<!--积分转换提示-->
<div class="cancelBox" id="erpIntegralWin" style="display: none;">
    <div class="layer">
        <h2>系统提示</h2>
        <h3><a href="javascript:easyDialog.close();"></a></h3>
    </div>
    <div class="cancel">
        <div class="c-title">您当前的线下积分数值为0,不能进行线上转换！</div>
    </div>
</div>
<!--积分转换提示-->

<!--门店积分转换-->
<div class="cancelBox" id="shoppingCartTip" style="display: none;">
    <div class="layer">
        <h2>门店积分转换</h2>
        <h3><a href="javascript:easyDialog.close();"></a></h3>
    </div>
    <div class="cancel">
        <div class="c-title" style="height: 130px;">
            <div style="overflow-y: scroll;height: 118px;border: 1px solid #999;padding: 5px;width: 440px;">
            </div>
        </div>
        <div class="c-box">
            <div class="info">
                <h2 style="width: 400px;line-height: 20px;text-align: center;">
                    门店积分数 : 0
                    积分转换率 : 0.00%
                    门店积分数 : 0</h2>
                <div class="clear"></div>
                <h2>
                    需要转换的积分数值 : <input type="text" id="changeIntegral" onpropertychange="integralHandle();" oninput="integralHandle();">
                </h2>
                <div class="clear"></div>
                <h2 style="font-weight:bold;">转换成功后您将获得 : <span id="successIntegral">0.00</span>积分 (获得线上积分 = 门店转换积分 X 积分转换率)</h2>
                <h3><a href="javascript:postErp();">确认转换</a></h3>
                <div class="clear"></div>
            </div>
        </div>
    </div>
</div>
<!--门店积分转换-->

	<!--页脚-->
<script type="text/javascript" src="/themes/simplebootx/Public/assets/js/scrollTop.js"></script>
<script type="text/javascript">
	var jiathis_config={
		summary:"",
		hideMore:false
	}

	$(document).ready(function(){

		$(window).scroll(function() {
			var topheight=$(".back-top").offset().top;
//            $(".wx-popup").css({ top: topheight + "px" });
//            $(".se-popup").css({ top: topheight+50 + "px" });
		});


		$("#2dbcode").hover(function(){
//            var topheight=$(".back-top").offset().top;
//            $(".wx-popup").css("top",topheight);
			$(".wx-popup").show();
		},function(){
			$(".wx-popup").hide();
		});

		$("#ziaxian").hover(function(){
//            var topheight=$(".back-top").offset().top;
//            $(".se-popup").css({ top: topheight + "px" });
			$(this).find(".se-popup").show();
		},function(){
			$(this).find(".se-popup").hide();
		});
	});
	$(function(){
		$(".simple").scrollTop1();
//        window.onscroll=function(){
//            document.documentElement.scrollTop>0?$("#goTopBtn").css("display",""):$("#goTopBtn").css("display","none");
//        }
	});
</script>
<div class="footer">
	<div class="foot_ba frameEdit" frameinfo="custom1">
		<p>
			<span style="font-size:16px;"><strong>&nbsp;</strong></span></p>
		<p style="text-align: center;">
			&nbsp;</p>
		<p style="text-align: center;">
			<span style="font-size:12px;"><span style="font-family: 微软雅黑;">Copyright ©2016-2017 All rights reserved 北京致医健康信息技术有限公司</span></span></p>
		<p style="text-align: center;">
			<span style="font-size:12px;"><span style="font-family: 微软雅黑;">网站备案/许可证号： 京ICP备17003706号-3</span></span></p>
	</div>
</div>


<script type="text/javascript">
	//全局变量
	var GV = {
		ROOT: "/",
		WEB_ROOT: "/",
		JS_ROOT: "public/js/"
	};
</script>
<!-- Placed at the end of the document so the pages load faster -->
<!--<script src="/public/js/jquery.js"></script>-->
<!--<script src="/public/js/wind.js"></script>-->
<!--<script src="/themes/simplebootx/Public/assets/simpleboot/bootstrap/js/bootstrap.min.js"></script>-->
<!--<script src="/public/js/frontend.js"></script>-->
<script>
	$(function(){
//		$('body').on('touchstart.dropdown', '.dropdown-menu', function (e) { e.stopPropagation(); });

//		$("#main-menu li.dropdown").hover(function(){
//			$(this).addClass("open");
//		},function(){
//			$(this).removeClass("open");
//		});

		$.post("<?php echo U('user/index/is_login');?>",{},function(data){
			if(data.status==1){
				if(data.user.avatar){
//					$("#main-menu-user .headicon").attr("src",data.user.avatar.indexOf("http")==0?data.user.avatar:"<?php echo sp_get_image_url('[AVATAR]','!avatar');?>".replace('[AVATAR]',data.user.avatar));
				}

				$(".user-nicename").text(data.user.user_nicename!=""?data.user.user_nicename:data.user.user_login+",");
				$(".user-nicename").show();
                $(".logout").show();
				$(".user_nologin").hide();
			}
			if(data.status==0){
				$(".user_nologin").show();
				$(".user-nicename").hide();
			}

			/* $.post("<?php echo U('user/notification/getLastNotifications');?>",{},function(data){
			 $(".nav .notifactions .count").text(data.list.length);
			 }); */

		});
//		;(function($){
//			$.fn.totop=function(opt){
//				var scrolling=false;
//				return this.each(function(){
//					var $this=$(this);
//					$(window).scroll(function(){
//						if(!scrolling){
//							var sd=$(window).scrollTop();
//							if(sd>100){
//								$this.fadeIn();
//							}else{
//								$this.fadeOut();
//							}
//						}
//					});
//
//					$this.click(function(){
//						scrolling=true;
//						$('html, body').animate({
//							scrollTop : 0
//						}, 500,function(){
//							scrolling=false;
//							$this.fadeOut();
//						});
//					});
//				});
//			};
//		})(jQuery);
//
//		$("#backtotop").totop();


	});
</script>



</body>
</html>